package com.tcm.entity.dto.param;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * 管理员用户更新参数封装
 * @author Guqier
 * @version 1.0
 * @date 2023/7/9 20:00
 */
@Data
public class UserAdminUpdateParam {

    @NotNull(message = "用户ID不能为空")
    private Long id;// 用户ID

    @NotBlank(message = "姓名不能为空")
    private String name;

    private String password;// 密码

    //昵称
    private String nickname;

    @NotNull(message = "性别不能为空")
    private Integer gender;

    //电子邮箱
    private String email;

    //手机号码
    private String phone;

}
